//
//  AbstractBaseWebView.m
//  MIS Cloud
//
//  Created by goldeney on 14-1-22.
//  Copyright (c) 2014年 goldeneye. All rights reserved.
//

#import "AbstractBaseWebView.h"

@implementation AbstractBaseWebView

//- (id)initWithFrame:(CGRect)frame
//{
//    self = [super initWithFrame:frame];
//    if (self) {
//        // Initialization code
//    }
//    return self;
//}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

//- (void) initTap {
//    
//    UITapGestureRecognizer *singleFingerDoubleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleSingleFingerDoubleTap:)];
//    singleFingerDoubleTap.delegate = self;
//    singleFingerDoubleTap.numberOfTouchesRequired = 1;
//    singleFingerDoubleTap.numberOfTapsRequired = 2;
//    [self addGestureRecognizer:singleFingerDoubleTap];
//}
//
//- (id)initWithCoder:(NSCoder*)coder
//{
//    if (self = [super initWithCoder:coder]) {
//        // Initialization code.
//        [self initTap];
//    }
//    return self;
//}
//
//- (id)initWithFrame:(CGRect)frame {
//    
//    self = [super initWithFrame:frame];
//    if (self) {
//        // Initialization code.
//        [self initTap];
//    }
//    return self;
//}
//
//
//-(void)handleSingleFingerDoubleTap:(id)sender {
//    NSLog(@"Doulble click detected !");
//}
//
//
//- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
//    UITouch *touch = [[event allTouches] anyObject];
//    if (touch.tapCount == 2) {
//        //put you zooming action here
//        NSLog(@"Doulble click detected !");
//    }
//}
//
//
//- (void)dealloc {
//    
//}
//
//#pragma mark Gesture recognizer delegate
//
//- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
//{
//    return YES;
//}

@end
